import { memo } from 'react'
import './index.css'
const Header = (props) => {
    const { path, onClick } = props;
    return (
        <div className="header-container">
            <div className="header-symbol">331-Ours'Studio</div>
            <div className="header-text">DB-monitor</div>
            <div className="header-path-field">
                <div className="header-path" onClick={onClick}>
                    当前路径为：{path}
                </div>
            </div>
        </div>
    )
}
export default memo(Header)